<template>
	<el-form ref="formModel" :model="value" :rules="rules" :label-width="labelWidth" :inline="inline" v-bind="$props"
		v-on="$listeners">
		<!-- <h4 class="orange">基础信息</h4> -->
		<el-row>
			<slot name="HeaderUrlBefore"></slot>
			<slot name="HeaderUrl">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="HeaderUrl" :label="keyLan['HeaderUrl']+':'">
						<uploadimg v-model="value.HeaderUrl" :max="1"></uploadimg>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="HeaderUrlAfter"></slot>
			<slot name="NameBefore"></slot>
			<slot name="Name">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="Name" :label="keyLan['Name']+':'">
						<el-input v-model="value.Name"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="NameAfter"></slot>
			<slot name="PhoneBefore"></slot>
			<slot name="Phone">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="Phone" :label="keyLan['Phone']+':'">
						<el-input v-model="value.Phone"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="PhoneAfter"></slot>
			<slot name="EnumStatusBefore"></slot>
			<slot name="EnumStatus">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="EnumStatus" :label="keyLan['EnumStatus']+':'">
						<el-radio-group v-model="value.EnumStatus">
							<el-radio v-for="item in EnumStatus" :key="item.Value" :value="item.Value" :label="item.Value">
								{{enumLanTxt(item.Label)}}
							</el-radio>
						</el-radio-group>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="EnumStatusAfter"></slot>
			<slot name="PwdBefore"></slot>
			<slot name="Pwd">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="Pwd" :label="keyLan['Pwd']+':'">
						<el-input v-model="value.Pwd"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="PwdAfter"></slot>
			<slot name="RemarkBefore"></slot>
			<slot name="Remark">
				<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
					<el-form-item prop="Remark" :label="keyLan['Remark']+':'">
						<el-input type="textarea" :rows="2" v-model="value.Remark" style="width: 100%;"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="RemarkAfter"></slot>
		</el-row>
	</el-form>
</template>

<script>
	import common from "@/common/common.js";
	import js from "@/Partial/Referrer/js.js";

	export default {
		name: "ReferrerAddEdit",
		mixins: [common.baseVM, js]
	}
</script>
